package com.ruibang.glass.material.domain.req.bcp;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.teaming.cloud.framework2.common.pojo.PageRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;


@Data
@ApiModel(description = "bcp入库管理 ")
public class BcpProductsOutReq extends PageRequest implements Serializable {

    @ApiModelProperty(value = "出库单号")
    private String outStorageOrderNo;

    @ApiModelProperty(value = "类型")
    private String type;

    @ApiModelProperty(value = "状态")
    private String status;
    @ApiModelProperty(value = "审批状态")
    private String approveStatus;

    @ApiModelProperty(value = "领料人")
    private String preparer;

    @ApiModelProperty(value = "完成开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime finishStartTime;

    @ApiModelProperty(value = "完成结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime finishEndTime;

}
